﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0124)http://portal.ha.cmcc/eai/auth/eailogin.jsp -->
<HTML><HEAD><TITLE>河南移动统一信息平台</TITLE>
<SCRIPT language=JavaScript>
<!-- 
document.cookie = "IV_JCT=%2Feai; path=/";
//--> 
</SCRIPT>

<META content="text/html; charset=UTF-8" http-equiv=Content-Type><LINK 
rel="shortcut icon" 
href="http://portalui.ha.cmcc/portal/wps_login/favicon.ico"><LINK rel=stylesheet 
type=text/css href="河南移动统一信息平台_files/style.css"><LINK rel=stylesheet 
type=text/css href="河南移动统一信息平台_files/jquery.ui.theme.css">
<SCRIPT type=text/javascript 
src="河南移动统一信息平台_files/jquery-1.6.4.min.js"></SCRIPT>

<SCRIPT type=text/javascript 
src="河南移动统一信息平台_files/jquery.ui.base.min.js"></SCRIPT>

<SCRIPT type=text/javascript 
src="河南移动统一信息平台_files/jquery.ui.dialog.js"></SCRIPT>

<SCRIPT language=JavaScript type=text/JavaScript>
function showCommonMessage() {
   $("#loginFailure").dialog({
			title: '统一信息平台登录提示',
			resizable: false,
			draggable: false,
			//minWidth: 250,
			width: 260,
			height: 230,
			modal: true,
			buttons: [{
				text: '确 定',
				click: function() {
					$(this).dialog("close");
					document.getElementById("userName").focus();
				},
				bgImg: 'url(http://portalui.ha.cmcc/portal/wps_login/css/images/xinxiceng_yes.jpg) 50% 50%'
			}]
	});	
}

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	if (init==true) with (navigator) {
		if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
		}
	} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
		location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>

<SCRIPT language=javascript>
String.prototype.Trim = function() {
	var m = this.match(/^\s*(\S+(\s+\S+)*)\s*$/);
	return (m == null) ? "" : m[1];  
}

function checkForm() {
	document.getElementById("userName").value=document.getElementById("userName").value.Trim().toLowerCase();
	var uid = document.getElementById("userName").value.Trim();
	var pass = document.getElementById("userPass").value.Trim();
	if (uid=="") {
		$("#showSpanMsg").html("&nbsp;</br><center>对不起，请输入用户名。</center>");
		showCommonMessage();
		document.getElementById("userName").value="";
		document.getElementById("userName").focus();
		return false;
	}
	if (pass=="") {
		$("#showSpanMsg").html("&nbsp;</br><center>对不起，请输入密码。</center>");
		showCommonMessage();
		document.getElementById("userPass").value="";
		document.getElementById("userPass").focus();
		return false;
	}
	delete_all_cookies();
	postLogin(true);//call custome login
	return true;
}

function init() {
	if (location.hostname=="portal.oa.hnmcc") {
		alert('尊敬的用户，您好：\n    门户首页地址已变更为：http://portal.ha.cmcc，为了不影响您正常工作，请点击“设为首页”将该地址设置为首页，或在收藏夹中添加门户首页地址，谢谢！');
		location.replace("http://portal.ha.cmcc");
		return;
	}
	if (document.cookie!="") {
		var oldUserName = getCookie("haemisusername");
		if (oldUserName!=undefined) {
			document.getElementById("userName").value=oldUserName;
			document.getElementById("userPass").focus();
		} else {
			document.getElementById("userName").focus();
		}
	} else {
		document.getElementById("userName").focus();
	}
	
	//var spanOff = document.getElementById("spanpass").offsetLeft;
	//document.getElementById("Layer1").style.left=spanOff;
	//document.getElementById("Layer2").style.left=spanOff-395;
	delete_all_cookies();
}

function getCookie(objName) {
	var arrStr = document.cookie.split(";");
	for (var i=0; i<arrStr.length; i++) {
		var temp = arrStr[i].split("=");
		if (objName.Trim()==temp[0].Trim()) {
			return temp[1];
		}
	}
}

function postLogin(flag) {
	if (flag) {
		document.loginform.action="SimpleEAIDemoServlet";
	} else {
		document.loginform.action="/pkmslogin.form";
	}
}

function resetForm() {
	document.getElementById("userName").value="";
	document.getElementById("userPass").value="";
}

function changPwd() {
	window.showModalDialog('http://tim.ha.cmcc:9080/hatim/pwd/noLoginModify.jsp','','dialogWidth:520px;dialogHeight:450px');
	document.getElementById("userName").focus();
}

function zhsd() {
	window.showModalDialog('http://tim.ha.cmcc:9080/hatim/pwd/unlock_user.jsp','','dialogWidth:520px;dialogHeight:450px');
	document.getElementById("userName").focus();
}

function wjmm() {
	window.showModalDialog('http://tim.ha.cmcc:9080/hatim/pwd/forgetPass.jsp','','dialogWidth:520px;dialogHeight:450px');
	document.getElementById("userName").focus();
}

/*function openForgetPass() {
	window.showModalDialog('http://tim.ha.cmcc:9080/hatim/pwd/forgetPass.jsp','','dialogWidth:520px;dialogHeight:340px');
}*/

function openSetIE(){
	window.open('/was/sms/setie.jsp');
}

function changeStyle(obj) {
	//alert(obj.className);
	if(obj.className=="styleOver") {
		obj.className="styleOut";
	} else {
		obj.className="styleOver";
	}
}

function delete_cookie (name) {
	var expiration_date = new Date ();
	expiration_date . setYear (expiration_date.getYear () - 1);
	expiration_date = expiration_date.toGMTString ();

	// Expire the cookie
	var cookie_string = name + "=; path=/;expires=" + expiration_date;
	document.cookie = cookie_string;
	var cookie_string = name + "=; path=/;domain=ha.cmcc;expires=" + expiration_date;
	document.cookie = cookie_string;
}

function delete_all_cookies() {
	var cookie_string = "" + document.cookie;
	var cookie_array = cookie_string.split (";");
	for (var i = 0; i < cookie_array.length; i++) {
		var single_cookie = cookie_array[i].split("=");
		var name = single_cookie [0];
		if (name!="haemisusername"
				&&name!="PD-H-SESSION-ID"
				&&name!="PD-ID"
				&&name.indexOf("openedCmiscDate")==-1)
			delete_cookie(name);
	}
}

// 用户解锁
function openForUnclick() {
	var uid = document.getElementById("userName").value.Trim();
	window.showModalDialog('http://tim.ha.cmcc:9080/hatim/pwd/unlock_user.jsp?uid='+uid,'','dialogWidth:520px;dialogHeight:340px');
	$('#loginFailure').dialog('close');
	document.getElementById("userPass").focus();
}
</SCRIPT>

<META name=GENERATOR content="MSHTML 8.00.7601.19104"></HEAD>
<BODY onload=init();>
<FORM style="MARGIN: 0px" onsubmit="return checkForm();" method=post 
name=loginform action="">
<DIV class=box_content_longin>
<DIV class=head>
<DIV class=head_logo><IMG style="FLOAT: right" 
src="河南移动统一信息平台_files/logo_right.jpg"> </DIV>
<DIV class=clear></DIV></DIV>
<DIV class=main>
<DIV class=box_login>
<DIV class=login>
<DIV class=login_head></DIV>
<TABLE class=login_table border=0 cellSpacing=0 cellPadding=0 width=0>
  <TBODY>
  <TR>
    <TD height=35 align=left>用户名：</TD>
    <TD class=login_table_font align=right><SPAN style="CURSOR: hand" 
      onclick=zhsd();>账户锁定？</SPAN></TD></TR>
  <TR>
    <TD colSpan=2><INPUT id=userName class=login_input maxLength=18 size=18 
      name=username></TD></TR>
  <TR>
    <TD height=34 align=left>密码：</TD>
    <TD class=login_table_font align=right><SPAN style="CURSOR: hand" 
      onclick=wjmm();>忘记密码？</SPAN></TD></TR>
  <TR>
    <TD colSpan=2><INPUT id=userPass class=login_input size=18 type=password 
      name=password></TD></TR>
  <TR>
    <TD height=60 colSpan=2 align=middle><INPUT style="CURSOR: hand" class=login_Btn value=登&nbsp;&nbsp;录 type=submit></TD></TR></TBODY></TABLE>
<DIV class=login_foot>
<TABLE class=login_foot_table border=0 cellSpacing=0 cellPadding=0 width=0>
  <TBODY>
  <TR>
    <TD width=36><IMG src="河南移动统一信息平台_files/icon_mobile.jpg"></TD>
    <TD align=middle><A href="http://portalapp.ha.cmcc:9081/ClientDownLoad/" 
      target=_blank>手机门户下载</A></TD>
    <TD width=36><IMG src="河南移动统一信息平台_files/icon_password.jpg"></TD>
    <TD align=middle><SPAN style="CURSOR: hand" 
    onclick=changPwd();>密码管理</SPAN></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV class=clear></DIV></DIV></DIV>
<DIV 
class=footer>版权所有：中国移动通信集团河南有限公司<BR>24小时服务热线：137-8371-0301</DIV></DIV></FORM><!-- 信息提示层begin -->
<DIV style="DISPLAY: none" id=loginFailure><SPAN style="LINE-HEIGHT: 25px" 
id=showSpanMsg></SPAN></DIV><!-- 信息提示层end -->
<SCRIPT type=text/javascript>

</SCRIPT>
</BODY></HTML>
